#define _CRT_SECURE_NO_WARNINGS
#include<stdio.h>
#include"xh.h"
int main() {
	queue Q = creatqueue();
	printf("\n------------------------enqueue------------------\n");
	int i = 0;
	for (i = 0; i < 9; i++) {
		enqueue(Q, i + 1);
	}
	int len = queueLength(Q);
	printf("%d\n", len);
	showqueue(Q);

	printf("\n------------------------Dnqueue------------------\n");
	int j = 0;
	while (j < 5) {
		Dequeue(Q);
		j++;
	}
	showqueue(Q);
	printf("\ngethead:");
	gethead(Q);
	printf("%d\n", gethead(Q));
	return 0;
}